package com.kc.gb.device.service.impl;

import com.kc.gb.device.plugins.slant.service.SlantHardwareService;
import com.kc.gb.device.service.SlantAdminService;
import com.kc.gb.feign.slant.support.SlantCommand;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
public class SlantAdminServiceImpl implements SlantAdminService {

    @Resource
    SlantHardwareService iSlantHardwareService;

    @Override
    public void consumeCommands(List<SlantCommand> commands, boolean isDebugMode){
        iSlantHardwareService.consumeCommands(commands, isDebugMode);
    }
}
